package com.ruoyi.common.enums;

public enum DetailType {

    /**
     * 账单类型
     * 1 = 文字聊天
     * 2 = 同城速配
     * 3 = 打招呼
     * 4 = 开通守护
     * 5 = 签到奖励
     * 6 = 赠送礼物
     * 7 = 收到礼物
     * 8 = 增加积分
     * 9 = 减少积分
     */
    TEXT("1", "文字聊天"),
    AUDIO("2", "语音聊天"),
    VIDEO("3", "视频聊天"),
    GUARD("4", "开通守护"),
    SIGN("5", "签到奖励"),
    GIFT("6", "赠送礼物"),
    GIVE_GIFT("7", "收到礼物"),
    SCORE("8", "信用积分");

    private final String code;
    private final String info;

    DetailType(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

}
